﻿using System;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using System.Text;

namespace MS.InformationManagement.WP.Layouts.MS.InformationManagement.WP
{
    public partial class ScanningManager : LayoutsPageBase
    {

        #region Properties

        public string SelectedId 
        { 
            get 
            {
                return Page.Request.QueryString["SelectedId"]; 
            } 
        }

        public string RadicadoId
        {
            get
            {
                return Page.Request.QueryString["RadicadoId"];
            }
        }

        public string Salida
        {
            get
            {
                return string.IsNullOrEmpty(Page.Request.QueryString["Salida"]) ? "0" : Page.Request.QueryString["Salida"];
            }
        }

        public string LibraryName 
        {
            get
            {
                return Page.Request.QueryString["LibraryName"];            
            }
        }

        #endregion

        #region form events

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        #endregion 

        #region Protected Methods

        public string GetInitialParameters()
        {
            return "selectedId=" + SelectedId + ",radicadoId=" + RadicadoId+",currentWeb="+SPContext.Current.Web.Url+",salida="+Salida+",libraryName="+LibraryName;
        }

        #endregion

    }
}
